package com.teach.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
@Data
public class ShopOrderDTO {

	 private Long shopOrderItemId;

	    private String shopOrderItemUserName;

	    private Long shopOrderItemProductId;

	    private String shopOrderItemProductName;

	    private Float shopOrderItemProductPrice;

	    private Integer shopOrderItemNum;

	    private Double shopOrderItemTotalPrice;

	    private Long shopOrderId;

	    private String shopOrderItemAddress;

	    @JsonFormat(pattern = "yyyy-MM-dd")
	    @DateTimeFormat(pattern = "yyyy-MM-dd")
	    private Date shopOrderItemCreatTime;

	    private Integer shopOrderItemState;

	    private String shopOrderItemRemarks;

	    @JsonFormat(pattern = "yyyy-MM-dd")
	    @DateTimeFormat(pattern = "yyyy-MM-dd")
	    private Date shopOrderItemPayTime;

	    @JsonFormat(pattern = "yyyy-MM-dd")
	    @DateTimeFormat(pattern = "yyyy-MM-dd")
	    private Date shopOrderItemShipmentsTime;

	    @JsonFormat(pattern = "yyyy-MM-dd")
	    @DateTimeFormat(pattern = "yyyy-MM-dd")
	    private Date shopOrderItemTakeTime;

	    private String shopOrderRealName;
	    
	    private String shopOrderPhone;
	    
	    private String productImgs;
}
